package com.ckjava.test.service;

import com.ckjava.test.dao.DataUserProjectDao;
import com.ckjava.test.entity.DataUserProject;
import com.ckjava.test.service.DataUserProjectService;
import com.ckjava.test.service.base.BaseMybatisCrudService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class DataUserProjectService extends BaseMybatisCrudService<DataUserProjectDao, DataUserProject> {

	@Transactional(readOnly = true)
	public DataUserProject findByPHIDs(String userPHID, String taskPHID) {
		return dao.findByPHIDs(userPHID, taskPHID);
	}

}